package com.bootdo.cms.service;

import com.bootdo.cms.domain.ChannelDO;
import com.bootdo.common.domain.Tree;
import com.bootdo.system.domain.MenuDO;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface ChannelService {
	Tree<ChannelDO> getCmsChannelTree(Long id);

	List<Tree<ChannelDO>> listChannelTree();

	Tree<ChannelDO> getTree();

	List<ChannelDO> list(Map<String, Object> params);

	int remove(Long id);

	int save(ChannelDO channel);

	int update(ChannelDO channel);

	ChannelDO get(Long id);

	List<Long> listChildrenIds(Long parentId);
}
